package src;
import java.net.InetAddress;
import java.net.Socket;


public class Node {
	InetAddress address;
	Socket socket;
	int id;
	String hostname;
	
	public Node(InetAddress add, int id, String hostname) {
		this.address = add;
		this.id = id;
		this.hostname = hostname;
	}

	public InetAddress getAddress() {
		return address;
	}

	public void setAddress(InetAddress address) {
		this.address = address;
	}

	public Socket getSocket() {
		return socket;
	}

	public void setSocket(Socket socket) {
		this.socket = socket;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getHostname() {
		return hostname;
	}

	public void setHostname(String hostname) {
		this.hostname = hostname;
	}
	

}
